import httpRequest from '@/utils/httpRequest'
import constant from '../constant'



export function pageData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchInfo/page',
    method: 'post',
    data: data
  })
}
export function listBranch (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchInfo/list',
    method: 'post',
    data: data
  })
}
export function saveData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchInfo/save',
    method: 'post',
    data: data
  })
}
export function getData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchInfo/get',
    method: 'post',
    data: data
  })
}
export function delData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchInfo/del',
    method: 'post',
    data: data
  })
}
export function compareBeforeMerge (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchInfo/compareBeforeMerge',
    method: 'post',
    data: data
  })
}
